﻿@model IEnumerable<HanGu.Entity.Group>
@{
    Layout = null;
    int i = 1;
    ViewBag.ViewTitle = "会员分组";
    var SearchParma = ViewData["SearchParma"] as HanGu.Entity.UniversallySearchParam;
    string lookup = Request["lookup"];
}
@*<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="/admin/@ViewData["CurrentController"]/index"
    method="post">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    组名：
                </td>
                <td>
                    @Html.TextBox("Title", SearchParma.Ttile)
                </td>
                
                <td align="right">
                    <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive">
                                    <div class="buttonContent">
                                        <button type="submit" name="submit">
                                            检索</button></div>
                                </div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</div>*@
<div class="pageContent">
    <div class="button">
        <div class="buttonContent">
            <button type="button" multLookup="@lookup" warn="请选择会员">
                确定选择</button></div>
    </div>
    <table class="table" width="100%" layouth="170">
        <thead>
            <tr class="header">
                <th>
                    <input type="checkbox" class="checkboxCtrl" group="@lookup" />选择
                </th>
                <th style="width: 50px">
                    序号
                </th>
                <th>
                    组名
                </th>
                <th>
                    备注
                </th>
            </tr>
        </thead>
        @foreach (var item in Model)
        {            
            <tr target="@ViewData["CurrentController"]_id" rel="@item.ID" >
                <td>
                    <input  type="checkbox" name="@lookup" value="{MemberID:'@item.ID', Receiver:'@item.GroupName'}"/>
                </td>
                <td>
                    @i
                </td>
                <td>
                    @item.GroupName
                </td>
                <td>
                    @item.Remark
                </td>
            </tr>
            i += 1;
        }
    </table>
</div>
@*<div class="panelBar">
    <div class="pages">
        <span>共【@ViewData["RowCount"] 】条,每页显示【@ViewData["pageSize"] 】条</span>
    </div>
    <div class="pagination" targettype="navTab" totalcount="@ViewData["RowCount"] "
            numperpage="@ViewData["pageSize"] " pagenumshown="10" currentpage="@Request["pageNum"] ">
    </div>
</div>*@
